﻿<%template _header%>
<div class="wrap cl pageinfo" style="display:none">
	<div id="nav">
		<%if {usergroupinfo.allowsearch}>0%>
			<%template _quicksearch%>
		<%/if%>
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <strong>用户列表</strong>
	</div>
</div>
<div class="wrap cl">
<div class="main datalist">
<%if page_err==0%>
<!--	<h3>会员列表</h3>
	<div class="pages_btns cl">
		<div class="pages">
			<kbd>共{totalusers}名用户</kbd>{pagenumbers}<kbd>共{pagecount}页</kbd>
		</div>
		<span class="postbtn left">
		<input type="text" size="22" id="username" name="username" class="txt" onKeyDown="javascript:if(event.keyCode==13) window.location.href='userinfo.aspx?username='+this.value;" />
		<button type="button" onclick="if(document.getElementById('username').value==''){return false;}else{window.location.href='userinfo.aspx?username=' + document.getElementById('username').value;}">查看用户</button>
		</span>
	</div>-->
	

    <ul class="expert_wrap">
	<%loop user userlist%>
			<li>						
				<div class="group_user">{user[olimg]}
				  <p><a href="posttopic.aspx?forumid={forum.fid}&forumpage={forumpageid}&type=bonus">向他求助</a></p>
				</div>
				<div class="group_info">
					<strong>
				        <%set {aspxrewriteurl} = this.UserInfoAspxRewrite({user[uid]})%>
				        <a href="{aspxrewriteurl}">{user[username]}</a>
				        <%if {user[nickname]}!=""%>
					        <%if {user[nickname]}!={user[username]}%>&nbsp;&nbsp;({user[nickname]})
					        <%/if%>	
				        <%/if%>
					</strong>
					<span class="ico_lv13"></span>
					<ul class="info_list1">
						<li>经验值：93999</li>
						<li>综合声望：166</li>
						<li>积分：<span class="ico_reward">{user[credits]}</span></li>
						<li>回答数：{user[posts]}</li>
					</ul>
				</div>								
			</li>
			<%/loop%>
	</ul>
				

	<!--<div class="pages_btns cl" style="margin-top:10px;">
		<div class="pages">
			<kbd>共{totalusers}名用户</kbd>{pagenumbers}<kbd>共{pagecount}页</kbd>
		</div>
		<span class="postbtn left">
			<form method="get" action="">
				按:
				<input id="page" type="hidden" value="{pageid}" name="page" />
				<select name="orderby" id="orderby">
				  <option value=""></option>
				  <option value="uid">用户ID</option>
				  <option value="username">用户名</option>
				  <option value="credits">积分</option>
				  <option value="posts">发帖数</option>
				  <option value="admin">管理权限</option>
				  <option value="joindate">注册日期</option>
				  <option value="lastactivity">最后访问日期</option>
				</select>
				<select name="ordertype" id="ordertype">
				  <option value="asc">升序</option>
				  <option value="desc">降序</option>
				</select>
				<script type="text/javascript">
					document.getElementById('orderby').value="{request[orderby]}";
					document.getElementById('ordertype').value="{request[ordertype]}";
				</script>
				&nbsp;
				<button type="submit" name="Submit" onclick="document.getElementById('username').value='';this.form.submit();">排序</button>
			</form>
		</span>
	</div>-->
</div>
</div>
<%else%>
<%template _errmsgbox%>
<%/if%>
<%template _copyright%>
<%template _footer%>